package com.example.zcl.system.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.zcl.system.entity.User;
import com.example.zcl.system.mapper.UserMapper;
import org.springframework.stereotype.Service;

/**
 * @desc: --
 * @author: Bing
 * @date: 2025-05-29 15:17
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public User getByUsername(String username) {
        return baseMapper.selectByUsername(username);
    }
}
